<template>
  <div>
    <el-carousel :height="height">
      <el-carousel-item v-for="(item,index) in imgList" :key="index">
        <img :src="item"  class="my-fix-image" />
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script setup>
import ZCSTLibraryImg01 from '@/assets/images/backup/carousel/zcst-library-01.jpg'
import ZCSTLibraryImg02 from '@/assets/images/backup/carousel/zcst-library-02.jpg'
import ZCSTLibraryImg03 from '@/assets/images/backup/carousel/zcst-library-03.jpg'
import ZCSTLibraryImg04 from '@/assets/images/backup/carousel/zcst-library-04.jpg'
import ZCSTLibraryImg05 from '@/assets/images/backup/carousel/zcst-library-05.jpg'
const props = defineProps( {
  height: {
    type: String,
    default: '700px'
  },
  imgList: {
    type: Array,
    default: [ZCSTLibraryImg01,ZCSTLibraryImg02,ZCSTLibraryImg03,ZCSTLibraryImg04,ZCSTLibraryImg05]
  }
})

</script>

<style scoped></style>
